import { APP_SILDER_COLLAPSED } from "../actionType";
const defaultState = {};
const collapsed = (state = defaultState, action) => {
  switch (action.type) {
    case APP_SILDER_COLLAPSED:
    //   console.log(Object.assign(state,action));
      return { ...state, collapsed: action.collapsed };
    default:
      return state;
  }
};
export default collapsed;
